﻿import http from '@/utils/http';

export default {
    uploadInit: (data?: any) => http({ url: '/api/upload/init', data, loading: true, method: 'post' }),
    uploadChunk: (data?: any) => http({ url: '/api/upload/chunk', data, loading: true, method: 'post' }),
    uploadMerge: (data?: any) => http({ url: '/api/upload/merge', data, loading: true, method: 'post' }),
    uploadTest: (data?: any) => http({ url: '/api/upload/test', data, loading: true, method: 'post' }),
};
